<?php
	namespace Common\Model;
	use Think\Model;
	class GoodsModel extends Model{
		protected $tableName = 'goods';
		protected $fields = array(
			'id','type','goods_type','supplier_id','brand_id','is_recommend','is_new','is_hot','bn','out_bn','barcode','material','market_time','intro','cate_id','unit_id','unit','goods_weight','goods_title','en_goods_title','goods_content','goods_small_pic','goods_bg_pic','goods_image','goods_video','stocks','freez','sort','favorite_num','spec_type','is_more_spec','status','is_deleted','op_id','addtime','integral','sale_nums','goods_price','total_nums','valid_time','play_time','store_id',
			'_pk' => 'id','_autoinc'=>true
		);
	}
?>